<?php

namespace Payment\Common\Sw\Data;


/**
 * Class BackFaceChargeData
 *
 *
 * @package Payment\Common\Sw\Data
 *
 */
class BackFaceChargeData extends SwBaseData
{

    public function getData()
    {
        $this->retData['package'] = [
            'channel_trade_no' => $this->channel_trade_no??'',//通道订单号，微信订单号、支付宝订单号等，返回时不参与签名
            'channel_order_no' => $this->channel_order_no??'',//银行渠道订单号，微信支付时显示在支付成功页面的条码，可用作扫
        ];
        $this->retData['other'] = [
            'pay_type' => $this->pay_type,
            'merchant_name' => $this->merchant_name,
            'merchant_no' => $this->merchant_no,
            'terminal_id' => $this->terminal_id,
            'terminal_trace'=> $this->terminal_trace,
            'terminal_time' => $this->terminal_time,
            'total_fee' => $this->total_fee,
            'out_trade_no' => $this->out_trade_no??'',//订单号
            'end_time' => $this->end_time??'',
            'order_body' => $this->order_body??'',
            'attach' => $this->attach??'',
        ];

        return parent::getData(); // TODO: Change the autogenerated stub
    }

    protected function buildData()
    {

    }

    protected function checkDataParam()
    {
        // 对于返回数据不做检查检查
    }
}
